package com.plan;

import java.lang.reflect.Array;
import java.util.Scanner;

public class Test implements Runnable{


    @Override
    public void run() {
        System.out.println("GFG ");
        System.out.println("GEEKS");
    }
    public static void main(String[] args){
        Test obj=new Test();
        Thread thread=new Thread(obj);
        thread.start();
        System.out.println("Geeks");
        try{
            thread.join();
        }catch(InterruptedException e){
            e.printStackTrace();
        }
        System.out.println("for");
    }
}
